package com.example.api.dao;

import com.example.api.model.entity.Distribution;

import java.util.List;

public interface DistributionDao {

    int deleteByPrimaryKey(Integer id);

    int insert(Distribution record);

    int insertSelective(Distribution record);

    Distribution selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Distribution record);

    int updateByPrimaryKey(Distribution record);

    List<Distribution> findAll();
    
}